import request from '@/utils/request'

// 查询岗位投递列表
export function listJob_apply(query) {
  return request({
    url: '/business/job_apply/list',
    method: 'get',
    params: query
  })
}

// 查询岗位投递详细
export function getJob_apply(applyId) {
  return request({
    url: '/business/job_apply/' + applyId,
    method: 'get'
  })
}

// 新增岗位投递
export function addJob_apply(data) {
  return request({
    url: '/business/job_apply',
    method: 'post',
    data: data
  })
}

// 修改岗位投递
export function updateJob_apply(data) {
  return request({
    url: '/business/job_apply',
    method: 'put',
    data: data
  })
}

// 删除岗位投递
export function delJob_apply(applyId) {
  return request({
    url: '/business/job_apply/' + applyId,
    method: 'delete'
  })
}

// 导出岗位投递
export function exportJob_apply(query) {
  return request({
    url: '/business/job_apply/export',
    method: 'get',
    params: query
  })
}